//------------------------------------------------------------------------/ // Messages //------------------------------------------------------------------------/ private void Awake() { if (!root) { StratusDebug.LogErrorBreak("No root transform selected for sensing!", this); return; } this.interactEvent = new InteractEvent(this); this.scanTimer = new StratusStopwatch(this.scanInterval); this.OnAwake(); }
//----------------------------------------------------------------------/ // Methods //----------------------------------------------------------------------/ /// <summary> /// Begins interpolation /// </summary> /// <param name="time"></param> public void Start(float time) { Timer = new StratusStopwatch(time); _Active = true; }