public void Start() { VisScript = GetComponent <Char_Vis>(); ShootScript = GetComponent <Char_Shoot>(); MoveScript = GetComponent <Char_Move>(); DeathScript = GetComponent <Char_Death>(); PauseScript = GameObject.Find("LevelEssentials").GetComponent <Env_Pause>(); VisScript.MakeInvis(); _LifeState = LifeState.Respawning; SpawnCharacter(); _Shielded = false; }
// Use this for initialization void Start() { Player = FindObjectOfType <Char_Move>(); isFollowing = true; }