Ejemplo n.º 1
0
 /**
  *  When a new object is created this function is called with a reference to the pb_Object
  *  last built.
  */
 static void OnProBuilderObjectCreated(pb_Object pb)
 {
     pb.gameObject.name = string.Format("pb_{0}{1}", pb.gameObject.name, pb.GetInstanceID());
 }
Ejemplo n.º 2
0
 /**
  *	When a new object is created this function is called with a reference to the pb_Object
  *	last built.
  */
 static void OnProBuilderObjectCreated(pb_Object pb)
 {
     pb.gameObject.name = string.Format("pb_{0}{1}", pb.gameObject.name, pb.GetInstanceID());
 }