You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/3rd/D2D_Scripts/Gameplay/PlayerHook.cs

22 lines
402 B
C#

3 months ago
using UnityEngine;
using System;
using System.Collections;
using System.Linq;
using D2D;
using D2D.Common;
using D2D.Core;
using D2D.Gameplay;
using D2D.Utilities;
using DG.Tweening;
namespace D2D
{
public class PlayerHook : TransformHook
{
protected override void Start()
{
base.Start();
Target = FindObjectOfType<Player>().transform;
}
}
}