29-03-2019, 10:14 AM
(29-03-2019, 10:07 AM)Evgenius Wrote: And what about code?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Obi;
public class ManSetting : MonoBehaviour
{
public GameObject man;
void Start()
{
man.AddComponent<MeshCollider>();
man.AddComponent<ObiCollider>();
}
// Update is called once per frame
void Update()
{
Transform myTransform = this.transform;
Vector3 localScale = myTransform.localScale;
}
}