Editor UI - Hierarchy
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
LookAt look = Instantiate(EditorManager.instance.basePrefabs.emptyObject).AddComponent<LookAt>();
|
||||
|
||||
look.Initialize(elementName, id, tags, isFirstGenerated);
|
||||
look.Initialize(elementName, id, tags, isFirstGenerated, animatedObject);
|
||||
|
||||
look.animatedObject = animatedObject;
|
||||
look.lookAtObject = lookAtTarget;
|
||||
@@ -31,8 +31,7 @@ namespace Ichni.RhythmGame
|
||||
look.animationReturnType = FlexibleReturnType.Before;
|
||||
|
||||
look.targetTransformSubmodule = (animatedObject as IHaveTransformSubmodule).transformSubmodule;
|
||||
|
||||
look.SetParent(animatedObject);
|
||||
|
||||
|
||||
//look.timeDurationSubmodule.SetDuration(-999f, 999f); //TODO: 换为(-delay, songLength)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user