예제 #1
0
 void Start()
 {
     clearLine    = GetComponent <ClearLine>();
     spawnpiece   = GetComponent <SpawnPiece>();
     anim         = canvas.GetComponent <Animator>();
     scoreManager = GetComponent <ScoreManager>();
     spawnPiece();
 }
 protected virtual void OnClearLine(ClearDirection direction)
 {
     ClearLine?.Invoke(direction);
 }