// Start is called before the first frame update void Start() { actual_cooldown = cooldown_shoot; actual_shoot_time = shoot_time; InstanciateShadow(transform); sprite = GetComponent <SpriteRenderer>(); animator = GetComponent <Animator>(); rigidbody2D = GetComponent <Rigidbody2D>(); GameObject go; go = GameObject.Find("Scene Manager"); sceneManaging = go.GetComponent <GameSceneManage>(); }
// Start is called before the first frame update void Start() { sceneManagingGO = GameObject.Find("Scene Manager"); sceneManaging = sceneManagingGO.GetComponent <GameSceneManage>(); }
// Start is called before the first frame update void Start() { gameSceneManage = GetComponent <GameSceneManage>(); }