Sphere.Sphere C# (CSharp) Méthode

Sphere() public méthode

public Sphere ( TestableGameObject obj, IRigidBody body, ISphereCollider collider, [ sphere ) : System
obj TestableGameObject
body IRigidBody
collider ISphereCollider
sphere [
Résultat System
    public Sphere(TestableGameObject obj,
        IRigidBody body,
        ISphereCollider collider,
        [Resource("mesh/sphere")] TestableGameObject sphere)
    {
        this.obj = obj;
        this.collider = collider;
        this.body = body;
        sphere.transform.Parent = obj.transform;
    }
Sphere