コード例 #1
0
    public void TryToIsolate(string structureName)
    {
        if (GameObject.Find(structureName) == null)
        {
            Debug.Log("Tried to isolate the structure '" + structureName + "', which could not be found");
            return;
        }

        TryToIsolateStructure(structureName);
        if (customMessages != null)
        {
            customMessages.SendTryToIsolateStructureMessage(structureName);
        }
    }