コード例 #1
0
 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());
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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());
 }
コード例 #4
0
 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());
 }