Beispiel #1
0
 // Use this for initialization
 void Awake()
 {
     _text     = GetComponent <Text>();
     _rect     = GetComponent <RectTransform>();
     _startPos = _rect.anchoredPosition;
     _squish   = GetComponent <Squishy>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     _rotationSpeed = _speed;
     _sprite        = transform.Find("Sprite");
     _squish        = _sprite.GetComponent <Squishy>();
     _save          = GameObject.FindGameObjectWithTag("Player").GetComponent <SavePosition>();
 }
 public override bool MayTriggerCommand(WCell.Util.Commands.CmdTrigger<Squishy.Irc.Commands.IrcCmdArgs> trigger, Squishy.Irc.Commands.IrcCommand cmd)
 {
     return trigger.Args.User.UserLevel >= cmd.RequiredAccountLevel;
 }
Beispiel #4
0
 void Start()
 {
     _originalBorderPos = Border.anchoredPosition; //Save original UI Pos to Unlerp it if Necessary
     _csm    = CharacterSelectManager.Instance;
     _squish = Mouse.GetComponent <Squishy>();
 }
 void protHandler_PacketReceived(Squishy.Irc.Protocol.IrcPacket packet)
 {
     Console.WriteLine(packet);
 }
Beispiel #6
0
 protected override void OnError(Squishy.Irc.Protocol.IrcPacket packet)
 {
     WriteErrorSystem.WriteError(new Exception(packet.Args));// shouldn't be using a hardcoded value here, but its okay because this bot is specific to wcell anyway.
     base.OnError(packet);
 }