public void SetGimmickIcon(GameObject go) { this.Gimmick = go.GetComponent <MonsterIconGimmick>(); global::Debug.Assert(null != this.Gimmick, "Component Not Found : MonsterIconGimmick プレハブを確認してください"); MonsterIconTransform.AttachParts(this.iconRootTransform, go, this.Gimmick.GetPosition()); }
public void SetMedal(GameObject go) { this.Medal = go.GetComponent <MonsterIconMedal>(); global::Debug.Assert(null != this.Medal, "Component Not Found : MonsterIconMedal プレハブを確認してください"); MonsterIconTransform.AttachParts(this.iconRootTransform, go); }
public void SetPlayerNo(GameObject go) { this.PlayerNo = go.GetComponent <MonsterIconPlayerNo>(); global::Debug.Assert(null != this.PlayerNo, "Component Not Found : MonsterIconPlayerNo プレハブを確認してください"); MonsterIconTransform.AttachParts(this.iconRootTransform, go, this.PlayerNo.GetPosition()); }
public void SetNewIcon(GameObject go) { this.New = go.GetComponent <MonsterIconNew>(); global::Debug.Assert(null != this.New, "Component Not Found : MonsterIconNew プレハブを確認してください"); MonsterIconTransform.AttachParts(this.iconRootTransform, go, this.New.GetPosition(), this.New.GetRotation()); }