コード例 #1
0
    public override void DestroyBuilding()
    {
        if (another != null)
        {
            another.another = null;
            another.DestroyBuilding();
        }

        GameObject.DestroyImmediate(gameObject);
    }