예제 #1
0
 protected virtual void Update()
 {
     InternalUpdate();
     if (IsMaster)
     {
         GrassBendersManager.UpdateBenders();
         GrassBendersManager.UpdateBendersShaderArray();
     }
 }
예제 #2
0
 void Remove()
 {
     GrassBendersManager.Remove(this);
 }
예제 #3
0
 protected virtual void OnEnable()
 {
     GrassBendersManager.AddBender(this);
     UpdateData();
 }