Exemple #1
0
        public void initCamera(CommonSettings.VoidCallBack callback)
        {
            Spirit role = field.Spirits[0];

            cameraMoveTo(role.CanvasLeft, role.CanvasTop, callback);
        }
Exemple #2
0
        //将镜头对准现在的精灵
        public void cameraMoveToCurrentRole()
        {
            Spirit currentRole = field.currentSpirit;

            cameraMoveTo(currentRole.CanvasLeft, currentRole.CanvasTop, () => { field.Status = BattleStatus.NextPersonAct; });
        }