private void Awake()
    {
        this.objectBGMManager = GameObject.FindWithTag("BGMManager");
        this.scriptBGMManager = this.objectBGMManager.GetComponent <BGMManager>();

        this.shaper2D = this.GetComponent <Shaper2D>();
    }
예제 #2
0
 void Start()
 {
     Screen.SetResolution(300, 300, false);
     //Getting the Shaper2D component
     shaper2d = GetComponent <Shaper2D>();
     //Start the animation
     StartCoroutine(Appear());
 }
예제 #3
0
 void Awake()
 {
     script = (Shaper2D)target;
 }