示例#1
0
 /// <summary>
 /// called every frame with it's delta time. DON'T override unless you know what you are doing.
 /// </summary>
 public virtual void step(float dt)
 {
     CCLog.Log("[Action step]. override me");
 }
示例#2
0
 /// <summary>
 /// called once per frame. time a value between 0 and 1
 /// For example:
 /// - 0 means that the action just started
 /// - 0.5 means that the action is in the middle
 /// - 1 means that the action is over
 /// </summary>
 public virtual void update(float dt)
 {
     CCLog.Log("[Action update]. override me");
 }