예제 #1
0
		public override void CopyTo(Action act)
		{
			base.CopyTo(act);
			DiaQAction a = act as DiaQAction;
			a.graphIdent = this.graphIdent;
			a.graphName = this.graphName;
		}
예제 #2
0
	public override void CopyTo(Action act)
	{
		base.CopyTo(act);
		DelayAction a = act as DelayAction;
		a.time = this.time.Copy();
		a.timer = this.timer;
	}
예제 #3
0
	public override void CopyTo(Action act)
	{
		base.CopyTo(act);
		StateChangeAction a = act as StateChangeAction;
		a.setState = this.setState;
		a.state = this.state;
	}
예제 #4
0
		public override void CopyTo(Action act)
		{
			base.CopyTo(act);
			ExecuteRandom a = act as ExecuteRandom;
			a.startAction = this.startAction;
			a.endAction = this.endAction;
		}
예제 #5
0
		public override void CopyTo(Action act)
		{
			base.CopyTo(act);
			DiaQVarAction a = act as DiaQVarAction;
			a.varName = this.varName;
			a.toVal = this.toVal.Copy();
		}
예제 #6
0
	public override void CopyTo(Action act)
	{
		base.CopyTo(act);
		CameraSelectAction a = act as CameraSelectAction;
		a.camName = this.camName;
		a.camId = this.camId.Copy();
	}
예제 #7
0
	public override void CopyTo(Action act)
	{
		base.CopyTo(act);
		CurrencyAction a = act as CurrencyAction;
		a.doWhat = this.doWhat;
		a.amount = this.amount.Copy();
	}
예제 #8
0
	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();
	}
예제 #9
0
	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;
	}
예제 #10
0
	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;
	}
예제 #11
0
		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;
		}
예제 #12
0
		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;
		}
예제 #13
0
	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();
	}
예제 #14
0
	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;
	}
예제 #15
0
		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;
		}
예제 #16
0
		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();
		}
예제 #17
0
		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;
		}
예제 #18
0
	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;
	}
예제 #19
0
	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();
	}
예제 #20
0
	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;
	}
예제 #21
0
		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;
		}
예제 #22
0
	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;
	}
예제 #23
0
		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;
		}
예제 #24
0
	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();
	}
예제 #25
0
	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;
	}
예제 #26
0
	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;
	}
예제 #27
0
	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;
	}
예제 #28
0
		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;
		}
예제 #29
0
	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;
	}
예제 #30
0
	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;
	}