上海杨浦大连路地铁站单机版电子沙盘
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.
 
 
 
 

20 lines
508 B

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;
}
}