예제 #1
0
 public void Initialize(GameObject gameObject, Vector3 lerpMoveFrom, Vector3 lerpMoveTo, bool departing, bool arriving, bool isMaster)
 {
     //Debug.Log("INIT");
     _gameObject = gameObject;
     _steerTo    = lerpMoveTo;
     _steerFrom  = lerpMoveFrom;
     _Controller = _gameObject.GetComponent <DynoBehavior_TimelineControl>();
     _arrival    = arriving;
     _departure  = departing;
     _isMaster   = isMaster;
     _whichList  = _Controller.Register(this, _isMaster);
 }
 public void Initialize(GameObject gameObject, Vector3 orientTo)
 {
     _gameObject = gameObject;
     _steerTo    = orientTo;
     _Controller = _gameObject.GetComponent <DynoBehavior_TimelineControl>();
 }