大连中石油电子沙盘
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
715 B

4 years ago
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;
}
}
}