AnimancerUtilities.

GetDirection(string, char, char) Method

Summary

Returns 1 if the `name` contains the `positive` value or -1 for `negative`. Otherwise returns 0.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static int GetDirection(string name, char positive, char negative)

Parameters

Name Type Description
name string
positive char
negative char

Return Value

Type Description
int