public FunctionCall(FunctionCall source) { this.FunctionName = source.FunctionName; this.parameterType = source.parameterType; this.BoolParameter = new SkillBool(source.BoolParameter); this.FloatParameter = new SkillFloat(source.FloatParameter); this.IntParameter = new SkillInt(source.IntParameter); this.GameObjectParameter = new SkillGameObject(source.GameObjectParameter); this.ObjectParameter = source.ObjectParameter; this.StringParameter = new SkillString(source.StringParameter); this.Vector2Parameter = new SkillVector2(source.Vector2Parameter); this.Vector3Parameter = new SkillVector3(source.Vector3Parameter); this.RectParamater = new SkillRect(source.RectParamater); this.QuaternionParameter = new SkillQuaternion(source.QuaternionParameter); this.MaterialParameter = new SkillMaterial(source.MaterialParameter); this.TextureParameter = new SkillTexture(source.TextureParameter); this.ColorParameter = new SkillColor(source.ColorParameter); this.EnumParameter = new SkillEnum(source.EnumParameter); this.ArrayParameter = new SkillArray(source.ArrayParameter); }
public FunctionCall(FunctionCall source) { FunctionName = source.FunctionName; parameterType = source.parameterType; BoolParameter = new FsmBool(source.BoolParameter); FloatParameter = new FsmFloat(source.FloatParameter); IntParameter = new FsmInt(source.IntParameter); GameObjectParameter = new FsmGameObject(source.GameObjectParameter); ObjectParameter = source.ObjectParameter; StringParameter = new FsmString(source.StringParameter); Vector2Parameter = new FsmVector2(source.Vector2Parameter); Vector3Parameter = new FsmVector3(source.Vector3Parameter); RectParamater = new FsmRect(source.RectParamater); QuaternionParameter = new FsmQuaternion(source.QuaternionParameter); MaterialParameter = new FsmMaterial(source.MaterialParameter); TextureParameter = new FsmTexture(source.TextureParameter); ColorParameter = new FsmColor(source.ColorParameter); EnumParameter = new FsmEnum(source.EnumParameter); ArrayParameter = new FsmArray(source.ArrayParameter); }