public void UFOfly(Disk disk) { Complete = SSActionEventType.Started; CCFlyAction action = CCFlyAction.getAction(disk.Speed); addAction(disk.gameObject, action, this);//激活对象,添加动作 }
public void UFOfly(GameObject disk) { Complete = SSActionEventType.Started; CCFlyAction action = CCFlyAction.getAction(disk.GetComponent <Disk>().Speed); addAction(disk, action, this);//激活对象,添加动作 }
public void MoveDisk(Disk Disk) { count++; Complete = SSActionEventType.Started; CCFlyAction action = CCFlyAction.getAction(Disk.speed); addAction(Disk.gameObject, action, this); }