示例#1
0
 private static void GameObject_OnCreate(GameObject sender, EventArgs args)
 {
     if (sender.IsBall())
     {
         Balls.Add(new Ball(sender));
     }
 }
示例#2
0
 public Ball(GameObject obj)
 {
     Object = obj as Obj_AI_Minion;
 }