You've already forked UniversalViewer
fixes
This commit is contained in:
6
Assets/Scripts/ModelViewerBase/Containers/IAnimated.cs
Normal file
6
Assets/Scripts/ModelViewerBase/Containers/IAnimated.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using UnityEngine;
|
||||
|
||||
public interface IAnimated
|
||||
{
|
||||
public Animator GetAnimator();
|
||||
}
|
||||
11
Assets/Scripts/ModelViewerBase/Containers/IAnimated.cs.meta
Normal file
11
Assets/Scripts/ModelViewerBase/Containers/IAnimated.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 14fe157a3aea9784d892f9bc75881dc9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -169,7 +169,7 @@ public class ObjectContainer : MonoBehaviour, IKeyframeSetter
|
||||
public virtual void SetKeyframe(int frameNum = -1)
|
||||
{
|
||||
if (DoNotSave || !_setKeyframe) return;
|
||||
Debug.Log("Setting frame for " + name);
|
||||
//Debug.Log("Setting frame for " + name);
|
||||
//if (Frames.Count == 0) SetDefaultFrame();
|
||||
if (frameNum == -1) frameNum = TimelineController.Instance.CurrentFrame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user