Example #1
0
    private void OnWearShell(ShellParent newShell)
    {
        if (newShell != null)
        {
            newShell.Attach(transform);
        }
        if (_shell != null)
        {
            _shell.Drop();
        }

        _shell = newShell;
        UpdateShellGraphic();
    }