示例#1
0
 void Awake()
 {
     replayInvoker              = new ReplayInvoker(gameObject.name, transform);
     ReplaySystem.FrameHandler += ReplaySwitch;
 }
示例#2
0
 void Awake()
 {
     animator                   = gameObject.GetComponent <Animator>();
     replayInvoker              = new ReplayInvoker(gameObject.name, animator);
     ReplaySystem.FrameHandler += ReplaySwitch;
 }