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

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

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