Example #1
0
 public override bool SetInstance(PlayerControlThree IO, GameObject ITG)
 {
     dogHerdSheepControl.InitHerdSheepBase(IO, this.speed, false);
     this.GetComponent <SpriteRenderer>().color = IO.GetSymbolColor();
     return(base.SetInstance(IO, ITG));
 }
Example #2
0
 public virtual void AddSheepList(SheepControlThree Sheep)
 {
     // 양을 추가시키고, HerdSheepBase의 Owner의 상징색으로 양의 색깔을 바꾼다.
     this.herdSheepList.Add(Sheep);
     Sheep.GetSpriteRenderer().color = Owner.GetSymbolColor();
 }