public static async ETTask <RobotCase> New(this RobotCaseComponent self) { await ETTask.CompletedTask; RobotCase robotCase = Entity.Create <RobotCase>(self); return(robotCase); }
public static async ETTask <RobotCase> New(this RobotCaseComponent self) { await ETTask.CompletedTask; RobotCase robotCase = self.AddChild <RobotCase>(); return(robotCase); }
public static int GetN(this RobotCaseComponent self) { return(++self.N); }