private void Awake() { this.objectBGMManager = GameObject.FindWithTag("BGMManager"); this.scriptBGMManager = this.objectBGMManager.GetComponent <BGMManager>(); this.shaper2D = this.GetComponent <Shaper2D>(); }
void Start() { Screen.SetResolution(300, 300, false); //Getting the Shaper2D component shaper2d = GetComponent <Shaper2D>(); //Start the animation StartCoroutine(Appear()); }
void Awake() { script = (Shaper2D)target; }