// Use this for initialization void Start() { stunTimer = 0; stunDuration = 1.5f; speed = 5f; jump = 4000; grounded = true; stunned = false; playing = true; //player = PLAYER.BLUE; anim = transform.GetComponent <AnimationCharacter> (); loadingScreen = GameObject.FindGameObjectWithTag("LoadingScreen"). GetComponent <LoadingScreen>(); destroyer = GameObject.FindGameObjectWithTag("Destroyer"). GetComponent <DestroyPlayer>(); camer = GameObject.FindGameObjectWithTag("MainCamera"). GetComponent <CameraMove>(); winner = GameObject.FindGameObjectWithTag("Title"). GetComponent <TextMesh>(); dataLogic = GameObject.FindGameObjectWithTag("DataLogic"). GetComponent <DataLogic>(); }
// Start is called before the first frame update void Start() { player = GameObject.FindGameObjectWithTag("Player"); d = GameObject.Find("Scripts").GetComponent <DestroyPlayer>(); rollManager = GameObject.Find("HealthSlider").GetComponent <RollManager>(); }
private void Start() { Instance = this; }
private void Start() { d = GameObject.Find("Scripts").GetComponent <DestroyPlayer>(); warriorAnimator = GetComponent <Animator>(); }
public void Start() { instance = this; }