19 lines
330 B
C#
19 lines
330 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class TransformAndName
|
|
{
|
|
public Transform transform;
|
|
|
|
public string name;
|
|
|
|
public bool isNonPlayer;
|
|
|
|
public TransformAndName(Transform newTransform, string newName, bool nonPlayer = false)
|
|
{
|
|
name = newName;
|
|
transform = newTransform;
|
|
isNonPlayer = nonPlayer;
|
|
}
|
|
}
|