public override void CopyTo(Action act) { base.CopyTo(act); DiaQAction a = act as DiaQAction; a.graphIdent = this.graphIdent; a.graphName = this.graphName; }
public override void CopyTo(Action act) { base.CopyTo(act); DelayAction a = act as DelayAction; a.time = this.time.Copy(); a.timer = this.timer; }
public override void CopyTo(Action act) { base.CopyTo(act); StateChangeAction a = act as StateChangeAction; a.setState = this.setState; a.state = this.state; }
public override void CopyTo(Action act) { base.CopyTo(act); ExecuteRandom a = act as ExecuteRandom; a.startAction = this.startAction; a.endAction = this.endAction; }
public override void CopyTo(Action act) { base.CopyTo(act); DiaQVarAction a = act as DiaQVarAction; a.varName = this.varName; a.toVal = this.toVal.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); CameraSelectAction a = act as CameraSelectAction; a.camName = this.camName; a.camId = this.camId.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); CurrencyAction a = act as CurrencyAction; a.doWhat = this.doWhat; a.amount = this.amount.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); GUIAction a = act as GUIAction; a.opt1 = this.opt1; a.opt2 = this.opt2; a.optParam = this.optParam.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); SkillChangeAction a = act as SkillChangeAction; a.skillName = this.skillName; a.addSkill = this.addSkill; a.skillPrefab = this.skillPrefab; }
public override void CopyTo(Action act) { base.CopyTo(act); ObjectEnabledAction a = act as ObjectEnabledAction; a.enable = this.enable; a.setComponent = this.setComponent; a.targetComponent = this.targetComponent; }
public int gotoAction = 1; // the action to goto if doOption = 1 public override void CopyTo(Action act) { base.CopyTo(act); DiaQDecisionAction a = act as DiaQDecisionAction; a.decision = this.decision.Copy(); a.doOption = this.doOption; a.gotoAction = this.gotoAction; }
public override void CopyTo(Action act) { base.CopyTo(act); Chara2_Move_act a = act as Chara2_Move_act; a.moveSpeed = this.moveSpeed; a.chaseSpeed = this.chaseSpeed; a.turnSpeed = this.turnSpeed; }
public override void CopyTo(Action act) { base.CopyTo(act); LoadSceneAction a = act as LoadSceneAction; a.loadBy = this.loadBy; a.gameSceneIdx = this.gameSceneIdx; a.sceneName = this.sceneName.Copy(); a.num = this.num.Copy(); }
public int equipToSlot = 0; // 0..n:slot (set if you also want to equip at same time being added to skill list) public override void CopyTo(Action act) { base.CopyTo(act); SkillEquipAction a = act as SkillEquipAction; a.skillName = this.skillName; a.equipSkill = this.equipSkill; a.skillPrefab = this.skillPrefab; a.equipToSlot = this.equipToSlot; }
public override void CopyTo(Action act) { base.CopyTo(act); DiaQRewardAction a = act as DiaQRewardAction; a.questIdent = this.questIdent; a.questName = this.questName; a.checkIfAccepted = this.checkIfAccepted; a.checkIfCompleted = this.checkIfCompleted; a.checkIfHandedIn = this.checkIfHandedIn; }
public override void CopyTo(Action act) { base.CopyTo(act); DiaQCondAction a = act as DiaQCondAction; a.setWhat = this.setWhat; a.questIdent = this.questIdent; a.questName = this.questName; a.conditionKey = this.conditionKey.Copy(); a.value = this.value.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); DiaQuestAction a = act as DiaQuestAction; a.questIdent = this.questIdent; a.questName = this.questName; a.give = this.give; a.setCompleted = this.setCompleted; a.setHadedIn = this.setHadedIn; }
public override void CopyTo(Action act) { base.CopyTo(act); EquipAction a = act as EquipAction; a.exitWhenFail = this.exitWhenFail; a.doWhat = this.doWhat; a.equipSlotOption = this.equipSlotOption; a.equipSlotId = this.equipSlotId.Copy(); a.bagSlotId = this.bagSlotId.Copy(); a.specifiedItem = this.specifiedItem; }
public override void CopyTo(Action act) { base.CopyTo(act); DebugLogAction a = act as DebugLogAction; a.logType = this.logType; a.inclNum = this.inclNum; a.inclObj = this.inclObj; a.text = this.text.Copy(); a.num = this.num.Copy(); a.obj = this.obj.Copy(); }
public override void CopyTo(Action act) { base.CopyTo(act); AnimationAction a = act as AnimationAction; a.clipName = this.clipName.Copy(); a.speed = this.speed.Copy(); a.wrapMode = this.wrapMode; a.crossFade = this.crossFade; a.reversed = this.reversed; a.doWhat = this.doWhat; }
public override void CopyTo(Action act) { base.CopyTo(act); MecanimParamAction a = act as MecanimParamAction; a.paramName = this.paramName.Copy(); a.paramIntFloat = this.paramIntFloat.Copy(); a.paramType = this.paramType; a.paramBool = this.paramBool; a.paramVector = this.paramVector; a.restoreOldValAfterCall = this.restoreOldValAfterCall; }
public int gotoAction = 1; // the action to goto if doOption = 1 public override void CopyTo(Action act) { base.CopyTo(act); IfThenAction a = act as IfThenAction; a.tests = new List<IfThenActionTest>(0); foreach (IfThenActionTest t in this.tests) a.tests.Add(t.Copy()); a.doOption = this.doOption; a.gotoAction = this.gotoAction; }
public bool b_opt = false; // if act=1,2,3 public override void CopyTo(Action act) { base.CopyTo(act); Chara2_Ani_act a = act as Chara2_Ani_act; a.act = this.act; a.moveName = this.moveName; a.clipName = this.clipName; a.aniSpeed = this.aniSpeed; a.speedDetect = this.speedDetect; a.b_opt = this.b_opt; }
public override void CopyTo(Action act) { base.CopyTo(act); BagAction a = act as BagAction; a.exitWhenFail = this.exitWhenFail; a.doWhat = this.doWhat; a.numberOfItems = this.numberOfItems.Copy(); a.equipSlotOption = this.equipSlotOption; a.equipSlotId = this.equipSlotId.Copy(); a.specifiedItem = this.specifiedItem; a.bagSlotId = this.bagSlotId.Copy(); }
public int objSet = 0; // 0:to subject, 1:subject child, 2:obj tagged, 3:obj named public override void CopyTo(Action act) { base.CopyTo(act); GlobalVarAction a = act as GlobalVarAction; a.varType = this.varType; a.varName = this.varName; a.setFrom = this.setFrom; a.num = this.num.Copy(); a.str = this.str.Copy(); a.attId = this.attId.Copy(); a.attWhat = this.attWhat; a.objSet = this.objSet; }
public override void CopyTo(Action act) { base.CopyTo(act); CustomVarAction a = act as CustomVarAction; a.customVariableOwner = this.customVariableOwner.Copy(); a.varName = this.varName; a.setFrom = this.setFrom; a.num = this.num.Copy(); a.str = this.str.Copy(); a.attId = this.attId.Copy(); a.attWhat = this.attWhat; a.objSet = this.objSet; }
public override void CopyTo(Action act) { base.CopyTo(act); SpawnAction a = act as SpawnAction; a.prefab = this.prefab; a.rotation = this.rotation; a.position = this.position; a.doParent = this.doParent; a.localPos = this.localPos; a.localRot = this.localRot; a.autoDestroyTimeout = this.autoDestroyTimeout; a.persistItem = this.persistItem; }
public override void CopyTo(Action act) { base.CopyTo(act); CollidableAction a = act as CollidableAction; a.prefab = this.prefab.Copy(); a.triggerWhenReachTarget = this.triggerWhenReachTarget; a.offsetTargetPosition = this.offsetTargetPosition; a.setGlobalObjectVar = this.setGlobalObjectVar; a.spawnFrom = this.spawnFrom.Copy(); a.offsetFrom = this.offsetFrom; a.speed = this.speed; a.selfDestructWhenNoTarget = this.selfDestructWhenNoTarget; }
public override void CopyTo(Action act) { base.CopyTo(act); SendMessageAction a = act as SendMessageAction; a.sendToTaggedObjects = this.sendToTaggedObjects; a.tagToUse = this.tagToUse; a.functionName = this.functionName; a.paramType = this.paramType; a.param1 = this.param1.Copy(); a.param2 = this.param2.Copy(); a.param3 = this.param3; a.param4 = this.param4; a.param5 = this.param5; }
public string setGlobalObjectVar = null;// if set then this var will contain a reference to the new object that was created public override void CopyTo(Action act) { base.CopyTo(act); SoundAction a = act as SoundAction; a.doWhat = this.doWhat; a.clips = new List<AudioClip>(0); foreach (AudioClip c in this.clips) a.clips.Add(c); a.loop = this.loop; a.destroyWhenDone = this.destroyWhenDone; a.useVolume = this.useVolume; a.customVolume = this.customVolume; a.position = this.position; a.useParent = this.useParent; a.setGlobalObjectVar = this.setGlobalObjectVar; }