internal void Init() { this.State = GameObjectFlags.Available; this.CollectionPrev = 0; this.CollectionNext = 0; this.FirstChild = 0; this.LastChild = 0; this.Next = 0; this.Parent = 0; this.Prev = 0; this.Uid = 0; this.Origin.Position = Vector3.Zero; this.Origin.Rotation = Quaternion.Identity; this.Slots = new GameComponentSlot[NumSlots]; }
public static bool HasAnyFlag(this GameObjectFlags flags, GameObjectFlags flags2) { return((flags & flags2) != GameObjectFlags.None); }
public static bool HasAnyFlag(this GameObjectFlags flags, GameObjectFlags flags2) { return (flags & flags2) != 0; }