Beispiel #1
0
        public static async ETTask <RobotCase> New(this RobotCaseComponent self)
        {
            await ETTask.CompletedTask;
            RobotCase robotCase = Entity.Create <RobotCase>(self);

            return(robotCase);
        }
Beispiel #2
0
        public static async ETTask <RobotCase> New(this RobotCaseComponent self)
        {
            await ETTask.CompletedTask;
            RobotCase robotCase = self.AddChild <RobotCase>();

            return(robotCase);
        }
Beispiel #3
0
 public static int GetN(this RobotCaseComponent self)
 {
     return(++self.N);
 }