/* Functions */ private void Awake() { this.mAlphaObject = this.GetComponent <JCS_AlphaObject>(); this.mAdjustTimeTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); this.mAdjustTimeTrigger.actions = DoFade; }
/* Setter & Getter */ /* Functions */ private void Awake() { this.m2DAnimator = this.GetComponent <JCS_2DAnimator>(); this.mAdjustTimeTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); this.mAdjustTimeTrigger.actions = RandomPlayAnimationInAnimator; }
/* Setter & Getter */ /* Functions */ private void Awake() { this.mTransformTweener = this.GetComponent <JCS_TransformTweener>(); this.mAdjustTimeTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); // set effect function pointer. this.mAdjustTimeTrigger.actions = TargetNewVectorValue; }
/* Functions */ private void Awake() { this.mLight = this.GetComponent <Light>(); this.mAdjustTimerTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); this.mValueTweener = this.GetComponent <JCS_ValueTweener>(); this.mValueTweener.set_float = SetLight_Range; this.mValueTweener.get_float = GetLight_Range; this.mAdjustTimerTrigger.actions = DoRange; }
/* Functions */ private void Awake() { this.mNavMeshAgent = this.GetComponent <NavMeshAgent>(); this.mNavMeshObstacle = this.GetComponent <NavMeshObstacle>(); ObstacleNow(); this.mAdjustTimeTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); mAdjustTimeTrigger.actions = DoAI; this.mStartingPosition = this.transform.position; }
/* Functions */ private void Awake() { this.mTransformTweener = this.GetComponent <JCS_TransformTweener>(); this.mAdjustTimerTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); #if UNITY_EDITOR if (mPoints.Count == 0) { JCS_Debug.LogWarning("Path action with 0 path point is not valid"); } #endif mAdjustTimerTrigger.actions = DoPath; }
/* Functions */ private void Awake() { this.mGoStraightAction = this.GetComponent <JCS_3DGoStraightAction>(); this.mLookAtAction = this.GetComponent <JCS_3DLookAtAction>(); this.mAdjustTimerTrigger = this.GetComponent <JCS_AdjustTimeTrigger>(); this.mAdjustTimerTrigger.actions = DoPath; #if UNITY_EDITOR if (mPoints.Count == 0) { JCS_Debug.LogWarning("Path action with 0 path point is not valid"); } #endif GetNextPoint(); }