Mirror of Svelto.ECS because we're a fan of it
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- namespace Svelto.ECS
- {
- public readonly struct ExclusiveBuildGroup
- {
- internal ExclusiveBuildGroup(ExclusiveGroupStruct group)
- {
- this.group = group;
- }
-
- public static implicit operator ExclusiveBuildGroup(ExclusiveGroupStruct group)
- {
- return new ExclusiveBuildGroup(group);
- }
-
- public static implicit operator ExclusiveBuildGroup(ExclusiveGroup group)
- {
- return new ExclusiveBuildGroup(group);
- }
-
- public static implicit operator ExclusiveGroupStruct(ExclusiveBuildGroup group)
- {
- return group.group;
- }
-
- public override string ToString()
- {
- return this.group.ToName();
- }
-
- internal ExclusiveGroupStruct @group { get; }
- public bool isInvalid => group == ExclusiveGroupStruct.Invalid;
- }
- }
|