예제 #1
0
    // Use this for initialization
    void Start()
    {
        GameInitiator.Start();
        GameObject spriteObject = new GameObject();

        spriteObject.AddComponent <SpriteRenderer>();
        spriteObject.GetComponent <SpriteRenderer>().color = Color.black;
    }
예제 #2
0
 // Use this for initialization
 void initiate()
 {
     GameInitiator.Start();
     row = GameData.row;
     col = GameData.col;
 }