using System.Collections; using System.Collections.Generic; using UnityEngine; public class CloneTwinkleLine : CloneWaterLine { // Use this for initialization public override void Awake() { variableX = 5; variableY = 18; variableZ = 5; cloneObjType = CloneObjType.TwinkleLine; parentResourcesName = "Prefab/Tool/TwinkleLineParent"; ResourcesName = "Prefab/Tool/WaterLineItem"; if (parentPrefab == null) { parentPrefab = Resources.Load(parentResourcesName) as GameObject; } if (clonePrefab == null) { clonePrefab = Resources.Load(ResourcesName) as GameObject; } } }