Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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 new ExclusiveGroupStruct(group.group);
- }
-
- public static explicit operator uint(ExclusiveBuildGroup groupStruct)
- {
- return (uint) groupStruct.@group;
- }
-
- public override string ToString()
- {
- return this.group.ToName();
- }
-
- internal ExclusiveGroupStruct @group { get; }
- }
- }
|