Esempio n. 1
0
		public void SetUp(MenkoBattleData data, SkillController skillController, Vector3 pos)
		{
			this.data = data;
			this.skillController = skillController;
			components = new MenkoComponents(this, data);
			gameObject.SetActive(data.IsRepresent);
			components.position = pos;
			components.RotY = data.IsPlayer ? 180f : 0f;
			components.scale = Vector3.one * BattleConst.Menko.SizeToScale(data.BaseData.Character.Size);
		}
Esempio n. 2
0
 public void SetUp(MenkoBattleData data, SkillController skillController, Vector3 pos)
 {
     this.data            = data;
     this.skillController = skillController;
     components           = new MenkoComponents(this, data);
     gameObject.SetActive(data.IsRepresent);
     components.position = pos;
     components.RotY     = data.IsPlayer ? 180f : 0f;
     components.scale    = Vector3.one * BattleConst.Menko.SizeToScale(data.BaseData.Character.Size);
 }