Sphere.Sphere C# (CSharp) Method

Sphere() public method

public Sphere ( TestableGameObject obj, IRigidBody body, ISphereCollider collider, [ sphere ) : System
obj TestableGameObject
body IRigidBody
collider ISphereCollider
sphere [
return 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