using System.Collections; using System.Collections.Generic; using UnityEngine; public class CloneBlockLine : CloneDashedLine { public override void Awake() { cloneObjType = CloneObjType.BlockLine; ResourcesName = "Prefab/Tool/BlockItem"; parentResourcesName = "Prefab/Tool/BlockLineParent"; base.Awake(); } protected override void SetDirect(GameObject cloneObj) { cloneObj.transform.right = ((prePos - curPos)).normalized; } }