예제 #1
0
    public void UFOfly(Disk disk)
    {
        Complete = SSActionEventType.Started;
        CCFlyAction action = CCFlyAction.getAction(disk.Speed);

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

        addAction(disk, action, this);//激活对象,添加动作
    }
예제 #3
0
    public void MoveDisk(Disk Disk)
    {
        count++;
        Complete = SSActionEventType.Started;
        CCFlyAction action = CCFlyAction.getAction(Disk.speed);

        addAction(Disk.gameObject, action, this);
    }