예제 #1
0
 public void SetEntity(Entity e)
 {
     this.e = e;
     body = e.GetComponent<SPShared.ECS.Components.PhysicsBody> ();
 }
예제 #2
0
 public void SetEntity(Entity e)
 {
     this.e = e;
     body   = e.GetComponent <SPShared.ECS.Components.PhysicsBody> ();
 }
예제 #3
0
 public void AddBody(ECS.Components.PhysicsBody body)
 {
     world.AddBody(body.Body);
 }