// Use this for initialization void Start() { ftr = GetComponent <FadeToRed> (); cfm = GetComponent <ConstantForwardMotion> (); cft = GetComponent <ConstantFaceTransform> (); RedCrosshair = Resources.Load("RedCrosshair") as GameObject; }
void Start() { cfm = GetComponent <ConstantForwardMotion> (); if (target == null) { if (GameObject.FindGameObjectWithTag("Player") == null) { return; } target = GameObject.FindGameObjectWithTag("Player").transform; } }
void Start() { cfm = GetComponent <ConstantForwardMotion> (); }