Пример #1
0
    void DestroyLoopEnter()
    {
        foreach (int nodeIndex in spawnInfo.GetNodeIndecies())
        {
            loop.GetNode(nodeIndex).SetStatus(Node.enum_status.idle);
            loop.GetNode(nodeIndex).InitializePosition();
        }

        Destroy(gameObject);
    }