コード例 #1
0
ファイル: FarmUI.cs プロジェクト: msruzy/digimon-linkz-client
    public FarmObject GetStoreFacility(FarmObject findFarmObject)
    {
        FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>();

        if (null == componentInChildren)
        {
            global::Debug.LogError("FarmEditFooter Not Found");
            return(null);
        }
        return(componentInChildren.GetRestStoreFacility(findFarmObject));
    }
コード例 #2
0
ファイル: FarmUI.cs プロジェクト: msruzy/digimon-linkz-client
    public void AddStoreFacility(FarmObject addFarmObject)
    {
        FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>();

        if (null == componentInChildren)
        {
            global::Debug.LogError("FarmEditFooter Not Found");
            return;
        }
        componentInChildren.AddFacilityButton(addFarmObject);
    }
コード例 #3
0
ファイル: FarmUI.cs プロジェクト: msruzy/digimon-linkz-client
    public void EnableEditStoreButton(bool enable)
    {
        FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>();

        if (null == componentInChildren)
        {
            global::Debug.LogError("FarmEditFooter Not Found");
            return;
        }
        componentInChildren.EnableStoreButton(enable);
    }