You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			120 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			120 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			C#
		
	
| 
											2 years ago
										 | //------------------------------------------------------------------------------ | ||
|  | // <auto-generated> | ||
|  | //     This code was generated by a tool. | ||
|  | //     Runtime Version:4.0.30319.42000 | ||
|  | // | ||
|  | //     Changes to this file may cause incorrect behavior and will be lost if | ||
|  | //     the code is regenerated. | ||
|  | // </auto-generated> | ||
|  | //------------------------------------------------------------------------------ | ||
|  | 
 | ||
|  | using Articy.Unity; | ||
|  | using Articy.Unity.Interfaces; | ||
|  | using System; | ||
|  | using System.Collections; | ||
|  | using System.Collections.Generic; | ||
|  | using UnityEngine; | ||
|  | 
 | ||
|  | 
 | ||
|  | namespace Articy.Touhou | ||
|  | { | ||
|  |      | ||
|  |      | ||
|  |     [Serializable()] | ||
|  |     public class OutgoingConnection : IArticyBaseObject, IOutgoingConnection, IObjectWithColor, IObjectWithTarget | ||
|  |     { | ||
|  |          | ||
|  |         [SerializeField()] | ||
|  |         private String mLabel; | ||
|  |          | ||
|  |         [SerializeField()] | ||
|  |         private Color mColor; | ||
|  |          | ||
|  |         [SerializeField()] | ||
|  |         private UInt64 mTargetPin; | ||
|  |          | ||
|  |         [SerializeField()] | ||
|  |         private ArticyValueArticyObject mTarget = new ArticyValueArticyObject(); | ||
|  |          | ||
|  |         public String Unresolved_Label | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 return mLabel; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public String Label | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 return Articy.Unity.ArticyTextExtension.Resolve(this, mLabel); | ||
|  |             } | ||
|  |             set | ||
|  |             { | ||
|  |                 mLabel = value; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public Color Color | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 return mColor; | ||
|  |             } | ||
|  |             set | ||
|  |             { | ||
|  |                 mColor = value; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public UInt64 TargetPin | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 return mTargetPin; | ||
|  |             } | ||
|  |             set | ||
|  |             { | ||
|  |                 mTargetPin = value; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ArticyObject Target | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 return mTarget.GetValue(); | ||
|  |             } | ||
|  |             set | ||
|  |             { | ||
|  |                 mTarget.SetValue(value); | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent) | ||
|  |         { | ||
|  |             OutgoingConnection newClone = ((OutgoingConnection)(aClone)); | ||
|  |             newClone.Label = Unresolved_Label; | ||
|  |             newClone.Color = Color; | ||
|  |             newClone.TargetPin = TargetPin; | ||
|  |             if ((mTarget != null)) | ||
|  |             { | ||
|  |                 newClone.mTarget = ((ArticyValueArticyObject)(mTarget.CloneObject(newClone, aFirstClassParent))); | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent) | ||
|  |         { | ||
|  |             OutgoingConnection clone = new OutgoingConnection(); | ||
|  |             CloneProperties(clone, aFirstClassParent); | ||
|  |             return clone; | ||
|  |         } | ||
|  |          | ||
|  |         public virtual bool IsLocalizedPropertyOverwritten(string aProperty) | ||
|  |         { | ||
|  |             return false; | ||
|  |         } | ||
|  |     } | ||
|  | } |