示例#1
0
    protected void OpenDoor()
    {
        Animation2D door = transform.Find("reddoor").GetComponent <Animation2D>();

        door.Animate();
    }